gdk: Add utility for uploading Cairo surfaces to GL
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 25 Apr 2016 10:29:14 +0000 (11:29 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:29:34 +0000 (11:29 +0100)
commitb425cff6896e5802e65fe4fde293645e8d236884
tree296f124e66ee2454358edf03b29cc55f49cf5bcd
parent0e2a87a4bcccae77c7881f2e34cd68df9308b98d
gdk: Add utility for uploading Cairo surfaces to GL

The surface-to-GL upload logic has become more complicated with the
addition of the GLES code paths; it's more logical to have a public
utility function that can be called from GDK users, instead of copy
pasting the whole thing multiple times.
gdk/gdkcairo.h
gdk/gdkgl.c